package com.cote.douhahou.pretloan.any.data.akomapalendhttp;

import java.util.function.Supplier;

public class AkomapalendASPostAsyncTsk implements Supplier<AkomapalendASResp> {

    private final String taskId;
    private final String body;
    private final String url;

    public AkomapalendASPostAsyncTsk(String taskId, String url, String body) {
        this.taskId = taskId;
        this.url = url;
        this.body = body;
    }

    @Override
    public AkomapalendASResp get() {
        AkomapalendASPostSyncTsk postSyncTask = new AkomapalendASPostSyncTsk(this.taskId, this.url, this.body);
        return postSyncTask.gASResponse();
    }

    public String taskId() {
        return taskId;
    }

    public String url() {
        return url;
    }

}
